package com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.factory.impl;

import com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.factory.FurnitureFactory;
import com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.product.Chair;
import com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.product.Sofa;
import com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.product.impl.ClassicalChair;
import com.sali.design_pattern.b_abstract_factory_pattern.lesson_03.product.impl.ClassicalSofa;

// 具体古典⻛格家居⼯⼚
public class ClassicalFurnitureFactory implements FurnitureFactory {
    @Override
    public Chair createChair() {
        return new ClassicalChair();
    }

    @Override
    public Sofa createSofa() {
        return new ClassicalSofa();
    }
}
